package protocol;

import gamePlus.GameSettings;
import gamePlus.server.GameClientSlot;
import java.io.Serializable;

@SuppressWarnings("serial")
public class PreGameInfo implements Serializable{
	public GameSettings serverSettings;
	public GameClientSlot[] slots;
	
	public PreGameInfo(GameSettings settings, GameClientSlot[] clientSlots) {
		serverSettings = settings;
		slots=clientSlots;
	}
	
	public void printfGameInfo() {
		System.out.println("Info "+this);
		for(int i=0; i<4;i++) {
			System.out.println("Slot "+(i+1)+": "+slots[i].getSlotState()+" "+slots[i].getPlayerName());
		}
	}
}
